package com.bw.bean;

public class Car {
    private int cid;
    private String name;
    private String idcard;
    private String tel;
    private String carno;
    private String cname;
    private int tid ;
    private String tname;
    private int status;
    private String zt;
    private String appointdate;

    public Car(int cid, String name, String idcard, String tel, String carno, String cname, int tid, String tname, int status, String zt, String appointdate) {
        this.cid = cid;
        this.name = name;
        this.idcard = idcard;
        this.tel = tel;
        this.carno = carno;
        this.cname = cname;
        this.tid = tid;
        this.tname = tname;
        this.status = status;
        this.zt = zt;
        this.appointdate = appointdate;
    }

    public Car() {
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getCarno() {
        return carno;
    }

    public void setCarno(String carno) {
        this.carno = carno;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getZt() {
        return zt;
    }

    public void setZt(String zt) {
        this.zt = zt;
    }

    public String getAppointdate() {
        return appointdate;
    }

    public void setAppointdate(String appointdate) {
        this.appointdate = appointdate;
    }

    @Override
    public String toString() {
        return "Car{" +
                "cid=" + cid +
                ", name='" + name + '\'' +
                ", idcard='" + idcard + '\'' +
                ", tel='" + tel + '\'' +
                ", carno='" + carno + '\'' +
                ", cname='" + cname + '\'' +
                ", tid=" + tid +
                ", tname='" + tname + '\'' +
                ", status=" + status +
                ", zt='" + zt + '\'' +
                ", appointdate='" + appointdate + '\'' +
                '}';
    }
}
